<!--
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib uri="/mytaglib" prefix="cc"%>
  -->
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="renderer" content="webkit">
    <meta name="keywords" content="your keywords">
    <meta name="description" content="your description">
    <meta name="author" content="author,email address">
    <meta name="format-detection" content="telephone=no"/>
    <title>采购记录列表</title>
    <cc:css src="h,laypage"/>
</head>
<body>
<div class="row">
    <a  class="btn btn-w-m btn-primary" target="_blank"
        href="${base}/com.vonchange.purchase.dr.good.d">菜品维护</a>
    <a  class="btn btn-w-m btn-primary" target="_blank"
        href="${base}/com.vonchange.purchase.dr.merchant.d">商户维护</a>
    <a  class="btn btn-w-m btn-primary" target="_blank"
        href="${base}/com.vonchange.purchase.dr.sys.web.sysDict.d">字典维护</a>
</div>
<h3 style="text-align: center">壹鼎壹采购与配送</h3>
<div class="row">
    <button type="button" class="btn btn-w-m btn-primary" style="width: 100%;" id="add">新建采购</button>
</div>

<!--table -->
<div class="row" id="purchase_box">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h3>已记录的采购</h3>
            </div>
            <div class="ibox-content">

                <table class="table table-bordered">
                    <thead>
                    <tr>
                        <th>ID</th>
                        <th>采购行为名</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody id="deed_list_box">
                     <!--   <tr class="item">
                            <td></td>
                            <td></td>
                            <td></td>
                            <td>
                                <img class="change"  height="30px" width="40px"
                                     src="${base}/web/res/image/change.png" title="修改">

                                <img class="export" height="30px" width="40px"
                                     src="${base}/web/res/image/excel.png" title="导出excel">
                            </td>
                        </tr>-->
                    </tbody>

                </table>
                <div id="page" name="laypage1.2" style="text-align: center;">
                </div>
            </div>
        </div>
    </div>
</div>
<cc:js src="common,ko,laypage,web/main/deed_list.js"/>
</body>
<script type="text/template" id="deed_list_tpl">
    [[for(var i=0;i< data.length;i++){
    var item=data[i]; item=_deed.workItem(item);]]
    <tr class="item" data-id="{=item.id}">
        <td>{=item.id}</td>
        <td>{=item.name}</td>
        <td>
            <img class="change"  height="30px" width="40px"
                 src="${base}/web/res/image/change.png" title="修改">

            <img  class="export" height="30px" width="40px"
                 src="${base}/web/res/image/excel.png" title="导出excel">
        </td>
    </tr>
    [[}]]
</script>
</html>